home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / ctrlalt.zip / RELEASE.DOC < prev   
Text File  |  1986-04-17  |  3KB  |  62 lines

  1.  
  2.             RELEASE.COM will create executable files which you can run 
  3.        to remove resident programs.  To use it, you must record the 
  4.        "situation" BEFORE you load a resident program by entering 
  5.  
  6.                                RELEASE <filename>
  7.        
  8.        at the DOS command line.   Here <filename> is any legal DOS file 
  9.        name perhaps including a drive and path but WITHOUT an extension; 
  10.        a file with this name and the extension '.com' will be created by 
  11.        RELEASE.  (RELEASE will beep if the filename is omitted or 
  12.        illegal, and will overwrite an existing file if you enter a name 
  13.        already in use.)  For example, if at half past ten in the morning 
  14.        you enter 
  15.  
  16.                                  RELEASE 1030AM 
  17.        
  18.        you will then find a file 1030AM.COM in your current directory.
  19.        You can then load GRAPHICS.COM, BULK.EXE, HULK.COM, PRINT.COM, 
  20.        and seven other resident programs.  If later that afternoon you 
  21.        need to have this memory back, just enter 1030AM; the programs 
  22.        are gone.  (You can reinstall one or two of them if you wish, or 
  23.        all of them, and continue to use 1030AM to remove them.) 
  24.  
  25.             You may use RELEASE several times in the process of loading 
  26.        resident programs.  I include the lines RELEASE \ETC\BASE at the 
  27.        beginning and RELEASE \ETC\AEEND at the end of my AUTOEXEC.BAT 
  28.        file.  It is perhaps unnecessary to create these files BASE.COM 
  29.        and AEEND.COM (in the directory ETC) every time I boot, but since 
  30.        I not infrequently change my AUTOEXEC.BAT and/or CONFIG.SYS 
  31.        file, I have found it more convenient to just let these lines 
  32.        stay there. 
  33.        
  34.             To see how much of your RAM memory remains at any time, use 
  35.        the DOS command CHKDSK; the last displayed line contains this 
  36.        information.  You can then experiment by running RELEASE to 
  37.        create POINT1.COM, say, loading some resident programs, and 
  38.        running CHKDSK before and after using POINT1.  
  39.        
  40.             RELEASE works by making a copy of the interrupt vectors  
  41.        stored at the very beginning of the computer's memory (a resident 
  42.        program will change one or more of these), and recording the 
  43.        current location at which programs load in the '.com'  file it 
  44.        makes; these interrupt vectors are restored when that '.com' file 
  45.        is run and then the memory allocated to any resident programs 
  46.        (loaded after the creation of the '.com' file) is released to 
  47.        DOS.  The details are contained in the accompanying assembly 
  48.        source code.  
  49.        
  50.             A note of caution: Suppose you enter RELEASE POINT1, load 
  51.        resident programs A, B, and C, and then enter RELEASE POINT2.  If 
  52.        you use POINT1.COM at some time, you should NOT use POINT2.COM--
  53.        you may want to erase it.  Since POINT2 would try to restore the 
  54.        situation when A,B, and C were loaded, it would lead to a crash 
  55.        if you ran it, unless you previously installed A, B, and C again 
  56.        in EXACTLY the same place.  Normally, A, B, and C will load in 
  57.        the same location, but not if, for example, you've changed the 
  58.        environment or load them from a batch file.  To ensure a valid 
  59.        file, it would be best to enter RELEASE POINT2 again after you 
  60.        load them.  
  61.  
  62.